<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<h3><fmt:message key="event.heading"/></h3>
<table class="borderedlist">
	<tr>
      <td width="20%"><fmt:message key="event.name"/></td>
      <td><c:out value="${event.name}"/></td>
    </tr>
	<tr>
	  <td><fmt:message key="event.description"/></td>
	  <td><c:out value="${event.description}"/></td>	
    </tr>
    <tr>
      <td><fmt:message key="event.owner"/></td>
	  <td><c:out value="${event.owner}"/></td>	
    </tr>
    <tr>
	  <td><fmt:message key="event.server"/></td>
	  <td><c:out value="${event.server}"/></td>	
    </tr>
    <tr>
      <td><fmt:message key="event.hour"/>:<fmt:message key="event.minute"/></td>
      <td><c:out value="${event.hour}"/>:<c:out value="${event.minute}"/></td>	
    </tr>
    <tr>
      <td><fmt:message key="event.day"/>/<fmt:message key="event.month"/></td>
      <td><c:out value="${event.day}"/>/<c:out value="${event.month}"/></td>	
    </tr>
</table>
<form:form>
  <input type="button" align="center" class="btn" onmouseover="this.className='btn btnhov'" onmouseout="this.className='btn'" onclick="document.location='<c:url value="events.htm"/>'" value="<fmt:message key="event.all.heading"/>"/>
  <input type="button" align="center" class="btn" onmouseover="this.className='btn btnhov'" onmouseout="this.className='btn'" onclick="document.location='eventedit.htm?id=<c:out value="${event.id}"/>'" value="<fmt:message key="event.edit.heading"/>"/>
</form:form>